<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>bootstrap form</title>
<!-- Bootstrap core CSS -->
<link
	href="${basePath}commentResources/bootstrap-3.3.7-dist/css/bootstrap.min.css"
	rel="stylesheet">
<!-- Optional Bootstrap Theme -->
<link href="data:text/css;charset=utf-8,"
	data-href="${basePath}commentResources/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css"
	rel="stylesheet" id="bs-theme-stylesheet">
<!-- Bootstrap core JavaScript
		<!-- Placed at the end of the document so the pages load faster -->
<script
	src="${basePath}commentResources/jquery-1.12.4/jquery-1.12.4.min.js"></script>
<script
	src="${basePath}commentResources/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>

<!-- bootstrap-datetimepicker -->
<link
	href="${basePath}commentResources/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css"
	rel="stylesheet" />
<script
	src="${basePath}commentResources/bootstrap-datetimepicker/js/moment-with-locales.min.js"></script>
<script
	src="${basePath}commentResources/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<!-- JQuery-validation -->
<script
	src="${basePath}commentResources/jquery-validation-1.17.0/dist/jquery.validate.min.js"></script>
<script
	src="${basePath}commentResources/jquery-validation-1.17.0/ext/jquery.validate.ext.js"></script>
<script type="text/javascript">
	// dom加载完成时就执行该方法
	$(function() {
		$('#datetimepicker1').datetimepicker({
			format : 'YYYY-MM-DD HH:mm:ss',
			locale : moment.locale('zh-cn')
		});
	});
</script>
</head>

<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-12">
				<div class="row">
					<div class="col-md-3"></div>
					<div class="col-md-6">
						<form class="form-horizontal" action="${basePath}insertPowerAction"
							method="post" >
							<div class="form-group"></div>
							<div class="form-group">
								<label for="inputEmail3" class="col-sm-2 control-label">用户编号</label>
								<div class="col-sm-4">
									<input type="text" class="form-control" id="userId"
										name="userId" placeholder="请输入用户编号">
								</div>
								<label for="inputEmail3" class="col-sm-2 control-label">用户姓名</label>
								<div class="col-sm-4">
									<input type="text" class="form-control" id="userName"
										name="userName" placeholder="请输入用户姓名">
								</div>
							</div>
							<div class="form-group">
								<label for="inputEmail3" class="col-sm-2 control-label">用户电话</label>
								<div class="col-sm-4">
									<input type="text" class="form-control" id="userTel"
										name="userTel" placeholder="请输入用户电话">
								</div>
								<label for="inputPassword3" class="col-sm-2 control-label">缴费时间</label>
								<div class="col-sm-4">
									<!-- <input type="text" class="form-control" id="stuBirthday"
										name="stuBirthday" placeholder="请选择出生日期"> -->
									<div class='input-group date' id='datetimepicker1'>
										<input type='text' class="form-control" id="pTime"
											name="pTime" /> <span class="input-group-addon">
											<span class="glyphicon glyphicon-calendar"></span>
										</span>
									</div>
								</div>
							</div>

							<div class="form-group">
								<label for="inputPassword3" class="col-sm-2 control-label">月用电量</label>
								<div class="col-sm-4">
									<input type="text" class="form-control" id="pCount"
										name="pCount" placeholder="月用电量">
								</div>
								<label for="inputPassword3" class="col-sm-2 control-label">应该缴费金额</label>
								<div class="col-sm-4">
									<input type="text" class="form-control" id="pStatus"
										name="pStatus" placeholder="应该缴费金额">
								</div>
							</div>
							<div class="form-group">
								<label for="inputPassword3" class="col-sm-2 control-label">单价</label>
								<div class="col-sm-4">
									<input type="text" class="form-control" id="pPriceid"
										name="pPriceid" placeholder="请输入单价">
								</div>
								<label for="inputPassword3" class="col-sm-2 control-label">截至上月共缴费金额</label>
								<div class="col-sm-4">
									<input type="text" class="form-control" id="pBeforecount"
										name="pBeforecount" placeholder="截至上月共缴费金额">
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-offset-4 col-sm-4">
									<button type="submit" id="btnSave" class="btn btn-default">保存</button>
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<button type="reset" class="btn btn-default">重置</button>
								</div>
							</div>
						</form>
					</div>
					<div class="col-md-3"></div>
				</div>
			</div>
		</div>
	</div>

</body>

</html>